package com.atguigu.docker.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @author: atguigu
 * @create: 2024-05-30 14:33
 */
@RestController
@RequestMapping("/api")
public class IndexController {

    @GetMapping("/get")
    public String get() {
        return "atguigu:"+new Date();
    }

}
